Mechanisms for object caching in distributed applications using Java RMI

نویسندگان

  • John Eberhard
  • Anand R. Tripathi
چکیده

Remote Method Invocation (RMI), a mechanism to access remote objects in Java-based distributed applications, uses network communication for each method invocation. Consequently, using RMI in a wide-area environment can cause poor application performance. One solution to improve performance is to cache the objects such that network communication is not necessary for each method invocation. In this paper, we present mechanisms to transparently add object caching to RMI. These mechanisms are compatible with existing RMI applications and use an event-based model to support different consistency policies. The mechanisms also include the ability to adaptively select the consistency policy for an object based on its usage pattern. A novel feature of our mechanisms is the use of a ‘reduced object’, which is a partial representation of the RMI object. We experimentally evaluate and demonstrate the benefits of our mechanisms. Copyright © 2006 John Wiley & Sons, Ltd.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient Implementation of Java Remote Method Invocation (RMI)

Java and the Remote Method Invocation (RMI) mechanism supported by it make it easy to build distributed applications and services in a heterogeneous environment. When the applications are interactive and require low response time, e cient implementations of RMI are needed. We explore both transport level protocols as well as object caching in the RMI framework to meet the performance requiremen...

متن کامل

A Configurable RMI Mechanism for Sharing Distributed Java Objects

M any distributed programming environments have been designed to support distributed shared objects over the Internet. Most of these environments—Java RMI1 and CORBA,2 for example—support clientserver applications where distributed objects reside on servers, which execute all methods (remote or local) invoked on the objects. Traditional client-server models do not support client-side object cac...

متن کامل

A Framework for Smart Proxies and Interceptors in RMI

The Java Remote Method Invocation (RMI) API shields the developer from the details of distributed programming, allowing him to concentrate on application specific code. But to perform some operations that are orthogonal to the application, like logging, auditing, caching, QoS, fault tolerance, and security, sometimes it is necessary to customize the default behavior of the RMI runtime. Other mi...

متن کامل

Using Semantic Knowledge of Distributed Objects to Increase Reliability and Availability

As systems become more distributed, they also become more complex. To ensure consistent execution while maximizing availability, distributed applications use various mechanisms such as replication, load balancing, and data caching. The protocols used for consistency management and component availability are traditionally instantiated by the application. However, in distributed object-based envi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 37  شماره 

صفحات  -

تاریخ انتشار 2007